WPDesk\FS\TableRate\ShippingMethodSingle S

Total Complexity 34
Dependencies 18
Dependents 17
Total lines 290
Lines of code 146
Logical lines of code 77
Comment lines 100
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
prepare_shipping_method_calculation_logger()
S
55 3 20
init()
S
56 3 16
init_instance_settings()
S
65 4 8
calculate_shipping()
S
59 3 13
generate_title_html()
S
56 2 20
validate_shipping_rules_field()
S
62 3 10
should_add_rate()
S
77 2 3
update_instance_option()
S
67 2 7
generate_shipping_rules_html()
S
68 2 6
generate_settings_html()
S
66 2 9
admin_options()
S
75 1 4
process_integrations_settings()
S
76 1 4
get_field_key()
S
79 1 3
get_method_rules()
S
79 1 3
process_admin_options()
S
64 1 9
init_instance_form_fields()
S
79 1 3
set_fs_logger()
S
80 1 3
__construct()
S
73 1 5